package com.dameng.system.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.dameng.system.entity.SystemRole;

public interface SystemRoleService extends IService<SystemRole> {

    /**
     * 用户id查询角色列表的勾选
     * @param page
     * @param userid
     * @return
     */
    Page<SystemRole> getRolesByUserId(Page<SystemRole> page, String userid);
}
